package com.ch.pagedemo.pading

import androidx.paging.DataSource
import com.ch.pagedemo.bean.Movie

class MovieDataSourceFactory: DataSource.Factory<Int, Movie>() {
    override fun create(): DataSource<Int, Movie> {
      return MovieDataSource()
    }
}